/*
 * Copyright 2020 The Kubernetes Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.kui--tab-completions {
  flex-basis: 100%;

  .kui--tab-completions--option {
    button {
      font-family: var(--font-monospace);
      background-color: transparent;
      color: var(--color-text-01);
      padding: 0.1875em 0.5em;
      border: none;
      max-width: unset;
      min-height: unset;

      &:hover {
        /* overriding some bits from the common bx-btn-primary css */
        filter: none;
        background: none;

        text-decoration: underline;
      }

      &:focus {
        border: none;
        box-shadow: none;
        color: var(--color-brand-02);
        background-color: var(--color-base03);
        border-radius: 4px;
      }
    }

    a {
      font-size: unset;
      white-space: pre;
    }

    .kui--tab-completions--option-partial {
      color: var(--var-text-02);
    }

    .kui--tab-completions--option-completion {
      color: var(--color-name);
    }
  }
}
